3.1.98 \(\int \frac {(a+b \log (c x^n))^2}{x^3 (d+e x)} \, dx\) [98]

Optimal. Leaf size=204 \[ -\frac {b^2 n^2}{4 d x^2}+\frac {2 b^2 e n^2}{d^2 x}-\frac {b n \left (a+b \log \left (c x^n\right )\right )}{2 d x^2}+\frac {2 b e n \left (a+b \log \left (c x^n\right )\right )}{d^2 x}-\frac {\left (a+b \log \left (c x^n\right )\right )^2}{2 d x^2}+\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x}-\frac {e^2 \log \left (1+\frac {d}{e x}\right ) \left (a+b \log \left (c x^n\right )\right )^2}{d^3}+\frac {2 b e^2 n \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {d}{e x}\right )}{d^3}+\frac {2 b^2 e^2 n^2 \text {Li}_3\left (-\frac {d}{e x}\right )}{d^3} \]

[Out]

-1/4*b^2*n^2/d/x^2+2*b^2*e*n^2/d^2/x-1/2*b*n*(a+b*ln(c*x^n))/d/x^2+2*b*e*n*(a+b*ln(c*x^n))/d^2/x-1/2*(a+b*ln(c
*x^n))^2/d/x^2+e*(a+b*ln(c*x^n))^2/d^2/x-e^2*ln(1+d/e/x)*(a+b*ln(c*x^n))^2/d^3+2*b*e^2*n*(a+b*ln(c*x^n))*polyl
og(2,-d/e/x)/d^3+2*b^2*e^2*n^2*polylog(3,-d/e/x)/d^3

________________________________________________________________________________________

Rubi [A]
time = 0.24, antiderivative size = 204, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {2380, 2342, 2341, 2379, 2421, 6724} \begin {gather*} \frac {2 b e^2 n \text {PolyLog}\left (2,-\frac {d}{e x}\right ) \left (a+b \log \left (c x^n\right )\right )}{d^3}+\frac {2 b^2 e^2 n^2 \text {PolyLog}\left (3,-\frac {d}{e x}\right )}{d^3}-\frac {e^2 \log \left (\frac {d}{e x}+1\right ) \left (a+b \log \left (c x^n\right )\right )^2}{d^3}+\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x}+\frac {2 b e n \left (a+b \log \left (c x^n\right )\right )}{d^2 x}-\frac {\left (a+b \log \left (c x^n\right )\right )^2}{2 d x^2}-\frac {b n \left (a+b \log \left (c x^n\right )\right )}{2 d x^2}+\frac {2 b^2 e n^2}{d^2 x}-\frac {b^2 n^2}{4 d x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*x^n])^2/(x^3*(d + e*x)),x]

[Out]

-1/4*(b^2*n^2)/(d*x^2) + (2*b^2*e*n^2)/(d^2*x) - (b*n*(a + b*Log[c*x^n]))/(2*d*x^2) + (2*b*e*n*(a + b*Log[c*x^
n]))/(d^2*x) - (a + b*Log[c*x^n])^2/(2*d*x^2) + (e*(a + b*Log[c*x^n])^2)/(d^2*x) - (e^2*Log[1 + d/(e*x)]*(a +
b*Log[c*x^n])^2)/d^3 + (2*b*e^2*n*(a + b*Log[c*x^n])*PolyLog[2, -(d/(e*x))])/d^3 + (2*b^2*e^2*n^2*PolyLog[3, -
(d/(e*x))])/d^3

Rule 2341

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*Log[c*x^
n])/(d*(m + 1))), x] - Simp[b*n*((d*x)^(m + 1)/(d*(m + 1)^2)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2342

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*Lo
g[c*x^n])^p/(d*(m + 1))), x] - Dist[b*n*(p/(m + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{
a, b, c, d, m, n}, x] && NeQ[m, -1] && GtQ[p, 0]

Rule 2379

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/((x_)*((d_) + (e_.)*(x_)^(r_.))), x_Symbol] :> Simp[(-Log[1 +
d/(e*x^r)])*((a + b*Log[c*x^n])^p/(d*r)), x] + Dist[b*n*(p/(d*r)), Int[Log[1 + d/(e*x^r)]*((a + b*Log[c*x^n])^
(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, n, r}, x] && IGtQ[p, 0]

Rule 2380

Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(x_)^(m_.))/((d_) + (e_.)*(x_)^(r_.)), x_Symbol] :> Dist[1/d,
 Int[x^m*(a + b*Log[c*x^n])^p, x], x] - Dist[e/d, Int[(x^(m + r)*(a + b*Log[c*x^n])^p)/(d + e*x^r), x], x] /;
FreeQ[{a, b, c, d, e, m, n, r}, x] && IGtQ[p, 0] && IGtQ[r, 0] && ILtQ[m, -1]

Rule 2421

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> Simp
[(-PolyLog[2, (-d)*f*x^m])*((a + b*Log[c*x^n])^p/m), x] + Dist[b*n*(p/m), Int[PolyLog[2, (-d)*f*x^m]*((a + b*L
og[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x^3 (d+e x)} \, dx &=\int \left (\frac {\left (a+b \log \left (c x^n\right )\right )^2}{d x^3}-\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x^2}+\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^2}{d^3 x}-\frac {e^3 \left (a+b \log \left (c x^n\right )\right )^2}{d^3 (d+e x)}\right ) \, dx\\ &=\frac {\int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x^3} \, dx}{d}-\frac {e \int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x^2} \, dx}{d^2}+\frac {e^2 \int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx}{d^3}-\frac {e^3 \int \frac {\left (a+b \log \left (c x^n\right )\right )^2}{d+e x} \, dx}{d^3}\\ &=-\frac {\left (a+b \log \left (c x^n\right )\right )^2}{2 d x^2}+\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x}-\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac {e x}{d}\right )}{d^3}+\frac {e^2 \text {Subst}\left (\int x^2 \, dx,x,a+b \log \left (c x^n\right )\right )}{b d^3 n}+\frac {(b n) \int \frac {a+b \log \left (c x^n\right )}{x^3} \, dx}{d}-\frac {(2 b e n) \int \frac {a+b \log \left (c x^n\right )}{x^2} \, dx}{d^2}+\frac {\left (2 b e^2 n\right ) \int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac {e x}{d}\right )}{x} \, dx}{d^3}\\ &=-\frac {b^2 n^2}{4 d x^2}+\frac {2 b^2 e n^2}{d^2 x}-\frac {b n \left (a+b \log \left (c x^n\right )\right )}{2 d x^2}+\frac {2 b e n \left (a+b \log \left (c x^n\right )\right )}{d^2 x}-\frac {\left (a+b \log \left (c x^n\right )\right )^2}{2 d x^2}+\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x}+\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^3}{3 b d^3 n}-\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac {e x}{d}\right )}{d^3}-\frac {2 b e^2 n \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {e x}{d}\right )}{d^3}+\frac {\left (2 b^2 e^2 n^2\right ) \int \frac {\text {Li}_2\left (-\frac {e x}{d}\right )}{x} \, dx}{d^3}\\ &=-\frac {b^2 n^2}{4 d x^2}+\frac {2 b^2 e n^2}{d^2 x}-\frac {b n \left (a+b \log \left (c x^n\right )\right )}{2 d x^2}+\frac {2 b e n \left (a+b \log \left (c x^n\right )\right )}{d^2 x}-\frac {\left (a+b \log \left (c x^n\right )\right )^2}{2 d x^2}+\frac {e \left (a+b \log \left (c x^n\right )\right )^2}{d^2 x}+\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^3}{3 b d^3 n}-\frac {e^2 \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac {e x}{d}\right )}{d^3}-\frac {2 b e^2 n \left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {e x}{d}\right )}{d^3}+\frac {2 b^2 e^2 n^2 \text {Li}_3\left (-\frac {e x}{d}\right )}{d^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 185, normalized size = 0.91 \begin {gather*} \frac {-\frac {6 d^2 \left (a+b \log \left (c x^n\right )\right )^2}{x^2}+\frac {12 d e \left (a+b \log \left (c x^n\right )\right )^2}{x}+\frac {4 e^2 \left (a+b \log \left (c x^n\right )\right )^3}{b n}+\frac {24 b d e n \left (a+b n+b \log \left (c x^n\right )\right )}{x}-\frac {3 b d^2 n \left (2 a+b n+2 b \log \left (c x^n\right )\right )}{x^2}-12 e^2 \left (a+b \log \left (c x^n\right )\right )^2 \log \left (1+\frac {e x}{d}\right )-24 b e^2 n \left (\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {e x}{d}\right )-b n \text {Li}_3\left (-\frac {e x}{d}\right )\right )}{12 d^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*x^n])^2/(x^3*(d + e*x)),x]

[Out]

((-6*d^2*(a + b*Log[c*x^n])^2)/x^2 + (12*d*e*(a + b*Log[c*x^n])^2)/x + (4*e^2*(a + b*Log[c*x^n])^3)/(b*n) + (2
4*b*d*e*n*(a + b*n + b*Log[c*x^n]))/x - (3*b*d^2*n*(2*a + b*n + 2*b*Log[c*x^n]))/x^2 - 12*e^2*(a + b*Log[c*x^n
])^2*Log[1 + (e*x)/d] - 24*b*e^2*n*((a + b*Log[c*x^n])*PolyLog[2, -((e*x)/d)] - b*n*PolyLog[3, -((e*x)/d)]))/(
12*d^3)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.20, size = 4413, normalized size = 21.63

method result size
risch \(\text {Expression too large to display}\) \(4413\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))^2/x^3/(e*x+d),x,method=_RETURNVERBOSE)

[Out]

-1/2*I/d/x^2*Pi*a*b*csgn(I*x^n)*csgn(I*c*x^n)^2-1/4/d/x^2*Pi^2*b^2*csgn(I*x^n)*csgn(I*c*x^n)^5-1/4*e/d^2/x*Pi^
2*b^2*csgn(I*c*x^n)^6+1/4*e^2/d^3*ln(e*x+d)*Pi^2*b^2*csgn(I*c*x^n)^6-1/4*e^2/d^3*ln(x)*Pi^2*b^2*csgn(I*c*x^n)^
6-1/4/d/x^2*Pi^2*b^2*csgn(I*c)*csgn(I*c*x^n)^5+1/8/d/x^2*Pi^2*b^2*csgn(I*c)^2*csgn(I*c*x^n)^4+e^2/d^3*ln(x)*ln
(c)^2*b^2-1/2/d*n/x^2*b^2*ln(c)-1/d/x^2*ln(c)*a*b+e/d^2/x*ln(c)^2*b^2-e^2/d^3*ln(e*x+d)*ln(c)^2*b^2-I/d^2*n*e/
x*b^2*Pi*csgn(I*c)*csgn(I*x^n)*csgn(I*c*x^n)-1/2/d/x^2*ln(c)^2*b^2+2*b^2*n/d^2*ln(x^n)*e/x-b^2*n*e^2/d^3*ln(x)
^2*ln(x^n)+1/2*e/d^2/x*Pi^2*b^2*csgn(I*c)^2*csgn(I*x^n)*csgn(I*c*x^n)^3-2*b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d^3*ln(x)*ln(c)*Pi*b^2*csgn(I*c)*csgn(I*c*x^n)^2+I/d^2*n*e/x*b^2*Pi*csgn(I*c)*csgn(I*
c*x^n)^2+1/2*I/d*ln(x^n)/x^2*b^2*Pi*csgn(I*c)*csgn(I*x^n)*csgn(I*c*x^n)-1/2*I*n*e^2/d^3*ln(x)^2*b^2*Pi*csgn(I*
x^n)*csgn(I*c*x^n)^2-I*n*e^2/d^3*ln(e*x+d)*ln(-...

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^2/x^3/(e*x+d),x, algorithm="maxima")

[Out]

-1/2*a^2*(2*e^2*log(x*e + d)/d^3 - 2*e^2*log(x)/d^3 - (2*x*e - d)/(d^2*x^2)) + integrate((b^2*log(c)^2 + b^2*l
og(x^n)^2 + 2*a*b*log(c) + 2*(b^2*log(c) + a*b)*log(x^n))/(x^4*e + d*x^3), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^2/x^3/(e*x+d),x, algorithm="fricas")

[Out]

integral((b^2*log(c*x^n)^2 + 2*a*b*log(c*x^n) + a^2)/(x^4*e + d*x^3), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c x^{n} \right )}\right )^{2}}{x^{3} \left (d + e x\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))**2/x**3/(e*x+d),x)

[Out]

Integral((a + b*log(c*x**n))**2/(x**3*(d + e*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^2/x^3/(e*x+d),x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)^2/((x*e + d)*x^3), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,x^n\right )\right )}^2}{x^3\,\left (d+e\,x\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*x^n))^2/(x^3*(d + e*x)),x)

[Out]

int((a + b*log(c*x^n))^2/(x^3*(d + e*x)), x)

________________________________________________________________________________________